<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script type="text/javascript" src="${ctx}/js/system/datacenter/add.js"></script>
<div class="hk_business hk_b_add">
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/datacenter/addEntity.shtml">
		<section class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<label class="col-sm-3 control-label">用户名：</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入用户名" name="datacenterJoinDbFromMap.username"
							id="username">
					</div>
					<span style="color: red;">*</span>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">密码： </label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入密码" name="datacenterJoinDbFromMap.password"
							id="password">
					</div>
					<span style="color: red;">*</span>
				</div>


				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">名称： </label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							placeholder="请输入名称" name="datacenterJoinDbFromMap.nickname"
							id="nickname">
					</div>
				</div>


				<footer class="panel-footer text-right bg-light lter">
					<button type="submit" class="btn btn-success btn-s-xs"
						>提交</button>
				</footer>
		</section>
	</form>
</div>
<script>
	function checkUser(key) {
		key.disable = "true";
		document.getElementById("form").submit();
	}
</script>

